3.2690 \(\int \frac{x^{-1+\frac{n}{2}}}{\sqrt{a+b x^n}} \, dx\)

Optimal. Leaf size=35 \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{b} x^{n/2}}{\sqrt{a+b x^n}}\right )}{\sqrt{b} n} \]

[Out]

(2*ArcTanh[(Sqrt[b]*x^(n/2))/Sqrt[a + b*x^n]])/(Sqrt[b]*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0186138, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {345, 217, 206} \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{b} x^{n/2}}{\sqrt{a+b x^n}}\right )}{\sqrt{b} n} \]

Antiderivative was successfully verified.

[In]

Int[x^(-1 + n/2)/Sqrt[a + b*x^n],x]

[Out]

(2*ArcTanh[(Sqrt[b]*x^(n/2))/Sqrt[a + b*x^n]])/(Sqrt[b]*n)

Rule 345

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/(m + 1), Subst[Int[(a + b*x^Simplify[n/(m +
1)])^p, x], x, x^(m + 1)], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[n/(m + 1)]] &&  !IntegerQ[n]

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{x^{-1+\frac{n}{2}}}{\sqrt{a+b x^n}} \, dx &=\frac{2 \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,x^{n/2}\right )}{n}\\ &=\frac{2 \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x^{n/2}}{\sqrt{a+b x^n}}\right )}{n}\\ &=\frac{2 \tanh ^{-1}\left (\frac{\sqrt{b} x^{n/2}}{\sqrt{a+b x^n}}\right )}{\sqrt{b} n}\\ \end{align*}

Mathematica [A]  time = 0.0178597, size = 59, normalized size = 1.69 \[ \frac{2 \sqrt{a} \sqrt{\frac{b x^n}{a}+1} \sinh ^{-1}\left (\frac{\sqrt{b} x^{n/2}}{\sqrt{a}}\right )}{\sqrt{b} n \sqrt{a+b x^n}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 + n/2)/Sqrt[a + b*x^n],x]

[Out]

(2*Sqrt[a]*Sqrt[1 + (b*x^n)/a]*ArcSinh[(Sqrt[b]*x^(n/2))/Sqrt[a]])/(Sqrt[b]*n*Sqrt[a + b*x^n])

________________________________________________________________________________________

Maple [F]  time = 0.056, size = 0, normalized size = 0. \begin{align*} \int{{x}^{-1+{\frac{n}{2}}}{\frac{1}{\sqrt{a+b{x}^{n}}}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-1+1/2*n)/(a+b*x^n)^(1/2),x)

[Out]

int(x^(-1+1/2*n)/(a+b*x^n)^(1/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{\frac{1}{2} \, n - 1}}{\sqrt{b x^{n} + a}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+1/2*n)/(a+b*x^n)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^(1/2*n - 1)/sqrt(b*x^n + a), x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+1/2*n)/(a+b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [A]  time = 22.5896, size = 24, normalized size = 0.69 \begin{align*} \frac{2 \operatorname{asinh}{\left (\frac{\sqrt{b} x^{\frac{n}{2}}}{\sqrt{a}} \right )}}{\sqrt{b} n} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+1/2*n)/(a+b*x**n)**(1/2),x)

[Out]

2*asinh(sqrt(b)*x**(n/2)/sqrt(a))/(sqrt(b)*n)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{\frac{1}{2} \, n - 1}}{\sqrt{b x^{n} + a}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+1/2*n)/(a+b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(x^(1/2*n - 1)/sqrt(b*x^n + a), x)